package com.nanhai.buddhist.college.module.study.convert.attendanceleavereason;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.attendanceleavereason.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.attendanceleavereason.AttendanceLeaveReasonDO;

/**
 * 请假事由 Convert
 *
 * @author Akai
 */
@Mapper
public interface AttendanceLeaveReasonConvert {

    AttendanceLeaveReasonConvert INSTANCE = Mappers.getMapper(AttendanceLeaveReasonConvert.class);

    AttendanceLeaveReasonDO convert(AttendanceLeaveReasonCreateReqVO bean);

    AttendanceLeaveReasonDO convert(AttendanceLeaveReasonUpdateReqVO bean);

    AttendanceLeaveReasonRespVO convert(AttendanceLeaveReasonDO bean);

    List<AttendanceLeaveReasonRespVO> convertList(List<AttendanceLeaveReasonDO> list);

    PageResult<AttendanceLeaveReasonRespVO> convertPage(PageResult<AttendanceLeaveReasonDO> page);

    List<AttendanceLeaveReasonExcelVO> convertList02(List<AttendanceLeaveReasonDO> list);

}
